const http = require('../util/http.js')

module.exports = {
  loginApi(data) {
    return http.post('/api/Ali/ali_login', data)
  },
  // 绑定手机号
  bindPhoneApi(data) {
    return http.post('/api/Ali/bind_phone', data)
  },
  // 获取验证码
  sendSmsApi(data) {
    return http.post('/api/AliSendSms/SendSms', data)
  },
  // 查询门店详情
  storeDetailApi(data) {
    return http.post('/api/Store/detail', data)
  },
  // 支付宝支付
  paymentApi(data) {
    return http.post('/api/Ali/ali_pay', data)
  }
}